package cn.dubito.springboot.learning.service;

import cn.dubito.springboot.learning.dto.OrderDTO;

/**
 * @author liliang
 * @description:
 * @date 2018/1/15.
 */
public interface BuyerService {

    /**
     * 查询订单
     * @param openid
     * @param orderId
     * @return
     */
    OrderDTO findOrderOne(String openid, String orderId);

    /**
     * 取消订单
     * @param openid
     * @param orderId
     * @return
     */
    OrderDTO cancelOrder(String openid, String orderId);
}
